// 引入axios实例
import httpInstance from "@/utils/http";
// // 获取轮播图数据
// export const getBannerAPI = () => {
//   return httpInstance({
//     url: "/home/banner",
//   });
// };

// 获取新鲜好物数据
export const findNewAPI = () => {
  return httpInstance({
    url:'/home/new'
  })
}
// 获取人气推荐数据
export const getHotAPI = () => {
  return  httpInstance({
    url:'/home/hot'
  })
}
// 获取产品
export const getGoodsAPI = () => {
  return httpInstance({
    url: '/home/goods'
  })
}